//
//  QueryBankListOperation.m
//  PlayBall
//
//  Created by Edward Zhang on 12-5-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddQueryBankListOperation.h"

@implementation JddQueryBankListOperation

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder queryBankListParameter];
    
    NSData *dataBank = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(QueryBankListOperationResult:) withObject:dataBank waitUntilDone:NO];    
}

@end
